package com.wkck.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wkck.VO.UserAllInfoVo;
import com.wkck.VO.UserDeliveredCareersVo;
import com.wkck.domain.User;
import com.wkck.domain.UserSendResume;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserMapper extends BaseMapper<User> {

    @Select("select * from user u where username = #{username}")
    User getUserMsgByUserName(String username);

    List<UserSendResume> getUserSendResumeMsg(Integer id);

    UserAllInfoVo getUserAllInfoById(Integer id);

    void updateUserBaseInfo(Integer id, User user);

    List<UserDeliveredCareersVo> queryUserDeliveredCareersByUserId(Integer id);
}
